package lormi.meipin.dao;


import org.apache.ibatis.annotations.Param;

import lormi.meipin.entity.FocusPosition;
import org.springframework.stereotype.Repository;

@Repository
public interface FocusPositionMapper {
	
    int deleteByPrimaryKey(Integer id);

    int insert(FocusPosition record);

    /**
     * 通过个人ID和职位ID和类型查询信息
     * @param memId
     * @param positionId
     * @param type
     * @return
     */
    FocusPosition selectByMemIdAndPositionId(@Param("memId") Integer memId, @Param("positionId") Integer positionId, @Param("type") Integer type);
    
}